<template>
 
      <van-pull-refresh
  v-model="isLoading"
  success-text="刷新成功"
  @refresh="onRefresh"
>
 <NaviGationTwo/>
      <Carousel/>
      <TanChuang/>
      <Commodity/>
  
</van-pull-refresh>
</template>

<script>
import NaviGationTwo from '../pages/ShouYe/NaviGationTwo.vue'
import Carousel from '../pages/ShouYe/Carousel.vue'
import TanChuang from"../pages/ShouYe/TanChuang.vue"
import Commodity from"../pages/ShouYe/Commodity.vue"
export default {
    name:'ContentOne',
    components:{
      Carousel,
      TanChuang,
      NaviGationTwo,
      Commodity
    },
    data() {
      return {
         count: 0,
      isLoading: false,
      }
    },
     methods: {
    onRefresh() {
      setTimeout(() => {
        this.isLoading = false;
        this.count++;
      }, 1000);
    },
  },
}
</script>

<style>

</style>